package com.tancire.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 模块项配置对象 app_module_item
 *
 * @author chenchao
 * @date 2024-01-15
 */
public class AppModuleItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 对应主区域
     */
    @Excel(name = "对应主区域")
    private Long posId;

    /**
     * 位置编码
     */
    @Excel(name = "位置编码")
    private String modCode;

    /**
     * 位置标题
     */
    @Excel(name = "位置标题")
    private String modTitle;

    /**
     * 状态 0 显示 1 隐藏
     */
    @Excel(name = "状态 0 显示 1 隐藏")
    private Integer modStatus;

    /**
     * 位置图片
     */
    @Excel(name = "位置图片")
    private String modImg;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer modSort;

    /**
     * 跳转类型
     */
    @Excel(name = "跳转类型 ")
    private String modJumpType;

    /**
     * 点击跳转页面
     */
    @Excel(name = "点击跳转页面")
    private String modJump;

    /**
     * 跳转携带数据
     */
    @Excel(name = "跳转携带数据")
    private String modJumpData;

    /**
     * 0 正常  1 删除  真删除，字段保留
     */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setPosId(Long posId) {
        this.posId = posId;
    }

    public Long getPosId() {
        return posId;
    }

    public void setModCode(String modCode) {
        this.modCode = modCode;
    }

    public String getModCode() {
        return modCode;
    }

    public void setModTitle(String modTitle) {
        this.modTitle = modTitle;
    }

    public String getModTitle() {
        return modTitle;
    }

    public void setModStatus(Integer modStatus) {
        this.modStatus = modStatus;
    }

    public Integer getModStatus() {
        return modStatus;
    }

    public void setModImg(String modImg) {
        this.modImg = modImg;
    }

    public String getModImg() {
        return modImg;
    }

    public void setModSort(Integer modSort) {
        this.modSort = modSort;
    }

    public Integer getModSort() {
        return modSort;
    }

    public void setModJumpType(String modJumpType) {
        this.modJumpType = modJumpType;
    }

    public String getModJumpType() {
        return modJumpType;
    }

    public void setModJump(String modJump) {
        this.modJump = modJump;
    }

    public String getModJump() {
        return modJump;
    }

    public void setModJumpData(String modJumpData) {
        this.modJumpData = modJumpData;
    }

    public String getModJumpData() {
        return modJumpData;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("posId", getPosId())
                .append("modCode", getModCode())
                .append("modTitle", getModTitle())
                .append("modStatus", getModStatus())
                .append("modImg", getModImg())
                .append("modSort", getModSort())
                .append("modJumpType", getModJumpType())
                .append("modJump", getModJump())
                .append("modJumpData", getModJumpData())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
